From: Florian Müllner Date: Tue, 17 Mar 2015 04:32:04 +0000 (+0100) Subject: calendar: Minor cleanup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1463 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a504dd866b4a4e48394c1a82d664cf2016898dc1;p=gnome-shell.git calendar: Minor cleanup Commit b61cb920533e04 added a close method, use that instead of explicitly emitting the corresponding signal. --- diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 7fd4622ee..0e03a2b4b 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -1227,7 +1227,7 @@ const NotificationMessage = new Lang.Class({ notification.connect('destroy', Lang.bind(this, function() { if (!this._closed) - this.emit('close'); + this.close(); })); this._updatedId = notification.connect('updated', Lang.bind(this, this._onUpdated));